-- GENERATED SPELL FOR [Paymaster] --


function spell0_26075(pUnit, Event) --@5,000 Gold,n/a--
pUnit:FullCastSpellOnTarget(46642,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26075', 557, 1)
end

function Sorts_26075(pUnit, Event)
local choix_sorts_26075 = math.random(0, 0)
if choix_sorts_26075 == 0 then
pUnit:RegisterEvent('spell0_26075', 1, 1)
end
end

function mob26075_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26075', math.random(1500, 3000), 1)
end

function mob26075_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26075_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26075_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26075, 1, 'mob26075_Action')
RegisterUnitEvent(26075, 2, 'mob26075_Leave')
RegisterUnitEvent(26075, 3, 'mob26075_Kill')
RegisterUnitEvent(26075, 4, 'mob26075_Die')
